package com.secsbrain.deploy.utils.command;

import org.apache.commons.exec.ExecuteResultHandler;

/**
 * Created by yangyang.zhang on 2017/8/21.
 */
public interface ExecuteStrategy extends ExecuteResultHandler {
	
	public void processLine(String line);

    /**
     * @param e 异常
     */
    void handleException(Exception e);

    /**
     * @param result 结果
     */
    void handleResult(Object result);
}
